package access;

import access.impl.AccessDaoImpl;

public class AccessFactory {
	//私有内部类
	private static class SingletonHolder{
        private static AccessDaoImpl access = new AccessDaoImpl();
    }
	
	/**获得实例对象
	 */
	public static AccessDao getAccess() {
		return SingletonHolder.access;
	}
}
